package com.xgpro.domain.rolemanage.entity;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

/**
 * @program: xgpro__dev
 * @description: 用户角色权限实体类
 * @author: likai
 * @create: 2019-10-13 09:22
 **/
@Data
@ToString
public class ProfileEntity implements Serializable {

    private String username;

    private String mobile;

    private String deptName;

    private Set<Role> role;

    private Map<String,Object> permissions = new HashMap<>();

}
